<include file="Public:header" title="邮件设置 - 设置"/>
<h2>邮件设置</h2>
<div id="settingTips" class="tip">保存提示</div>
<form method="post" action="<{:U('saveSetting?type=2')}>" onSubmit="return post_form('<{:U('saveSetting?type=2')}>',this,'settingTips');" autocomplete="off">
<table class="nostyle" style="text-align:left;line-height:200%;width:500px;">
	<tbody>
		<tr>
			<td colspan="2"><span>邮箱账号设置（请确认您已开启邮箱的SMTP功能）</span></td>
		</tr>
		<tr style="height:45px;">
			<td style="width:100px;"><label for="host">SMTP服务器</label></td>
			<td><input id="host" type="text" name="host" placeholder="SMTP服务器" class="text" value="<{$host}>" style="width:400px;" /></td>
		</tr>
		<tr style="height:45px;">
			<td><label for="address">SMTP邮箱</label></td>
			<td><input id="address" type="text" name="address" placeholder="SMTP邮箱" class="text"  value="<{$address}>" style="width:400px;" /></td>
		</tr>
		<tr style="height:45px;">
			<td><label for="user">SMTP账号</label></td>
			<td><input id="user" type="text" name="user" placeholder="SMTP账号" class="text"  value="<{$user}>" style="width:400px;" /></td>
		</tr>
		<tr style="height:45px;">
			<td><label for="pass">SMTP密码</label></td>
			<td><input id="pass" type="password" name="pass" placeholder="SMTP密码" class="text"  value="<{$pass}>" style="width:400px;" /></td>
		</tr>
		<tr>
			<td colspan="2"><span>注册验证时间</span></td>
		</tr>
		<tr style="height:45px;">
			<td><label for="verifyDeathTime">验证超时时间</label></td>
			<td><input id="verifyDeathTime" type="text" name="verifyDeathTime" placeholder="分钟数" class="text" value="<{$verifyDeathTime}>" style="width:400px;" /></td>
		</tr>
		<tr>
			<td colspan="2"><span>管理员邮箱设置</span></td>
		</tr>
		<tr style="height:45px;">
			<td><label for="mgrMail">管理员邮箱</label></td>
			<td><input id="mgrMail" type="email" name="mgrMail" placeholder="管理员E-mail" class="text" value="<{$mgrMail}>" style="width:400px;" /></td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" class="btn" value="保存" style="width:100%;height:35px;"/></td>
		</tr>
	</tbody>
</table>
</form>
<include file="Public:footer" />